<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>07_边框与内间距</title>
    <style>
        .z1{
            width: 200px;
            height: 200px;
            background-color: lightgreen;
            border: 5px solid green;
            border-bottom: 15px dotted purple;
            margin-bottom: 30px;
        }
        .z2{
            width: 200px;
            height: 200px;
            background-color: rebeccapurple;
            border-radius: 100px;
            border-bottom: 30px;

        }
        .z3{
            width: 200px;
            height: 60px;
            background-color: lightblue;
            /*如果值为长方形高度的一半，可以切胶囊型*/
            border-radius: 30px;
        }
        .z4{
            width: 200px;
            height: 200px;
            border: 5px solid red;
            /*无论加边框还是内间距，都会让元素本身大小变大*/
            padding:10px;
            padding:10px 20px;
            padding:10px 20px 30px;
            padding:10px 20px 30px 40px;
            padding-top:50px;
            margin:20px;
        }
        .z5{
            width: 200px;
            height: 200px;
            border: 10px solid red;
            padding: 20px;
            margin: 20px;
            box-sizing: border-box;
        }
    </style>
</head>
<body>
<div class="fu">
    <div class="z1">111</div>
    <div class="z2">222</div>
    <div class="z3">333</div>
    <div class="z4">444</div>
    <div class="z5">555</div>
</div>
</body>
</html>